﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001295 RID: 4757
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingGameSettleScNotify : IMessage<SwordTrainingGameSettleScNotify>, IMessage, IEquatable<SwordTrainingGameSettleScNotify>, IDeepCloneable<SwordTrainingGameSettleScNotify>, IBufferMessage
	{
		// Token: 0x17003C3F RID: 15423
		// (get) Token: 0x0600D545 RID: 54597 RVA: 0x0023D99B File Offset: 0x0023BB9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingGameSettleScNotify> Parser
		{
			get
			{
				return SwordTrainingGameSettleScNotify._parser;
			}
		}

		// Token: 0x17003C40 RID: 15424
		// (get) Token: 0x0600D546 RID: 54598 RVA: 0x0023D9A2 File Offset: 0x0023BBA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingGameSettleScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C41 RID: 15425
		// (get) Token: 0x0600D547 RID: 54599 RVA: 0x0023D9B4 File Offset: 0x0023BBB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingGameSettleScNotify.Descriptor;
			}
		}

		// Token: 0x0600D548 RID: 54600 RVA: 0x0023D9BB File Offset: 0x0023BBBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingGameSettleScNotify()
		{
		}

		// Token: 0x0600D549 RID: 54601 RVA: 0x0023D9DC File Offset: 0x0023BBDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingGameSettleScNotify(SwordTrainingGameSettleScNotify other) : this()
		{
			this.iKHDMKBFPMA_ = other.iKHDMKBFPMA_;
			this.nAMPNOLBOEK_ = other.nAMPNOLBOEK_;
			this.reason_ = other.reason_;
			this.gameStoryLineId_ = other.gameStoryLineId_;
			this.hDAIJPHEEJO_ = other.hDAIJPHEEJO_.Clone();
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.nOKLENCDFNF_ = other.nOKLENCDFNF_.Clone();
			this.kOBMCLGJJDB_ = other.kOBMCLGJJDB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D54A RID: 54602 RVA: 0x0023DA7A File Offset: 0x0023BC7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingGameSettleScNotify Clone()
		{
			return new SwordTrainingGameSettleScNotify(this);
		}

		// Token: 0x17003C42 RID: 15426
		// (get) Token: 0x0600D54B RID: 54603 RVA: 0x0023DA82 File Offset: 0x0023BC82
		// (set) Token: 0x0600D54C RID: 54604 RVA: 0x0023DA8A File Offset: 0x0023BC8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IKHDMKBFPMA
		{
			get
			{
				return this.iKHDMKBFPMA_;
			}
			set
			{
				this.iKHDMKBFPMA_ = value;
			}
		}

		// Token: 0x17003C43 RID: 15427
		// (get) Token: 0x0600D54D RID: 54605 RVA: 0x0023DA93 File Offset: 0x0023BC93
		// (set) Token: 0x0600D54E RID: 54606 RVA: 0x0023DA9B File Offset: 0x0023BC9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NAMPNOLBOEK
		{
			get
			{
				return this.nAMPNOLBOEK_;
			}
			set
			{
				this.nAMPNOLBOEK_ = value;
			}
		}

		// Token: 0x17003C44 RID: 15428
		// (get) Token: 0x0600D54F RID: 54607 RVA: 0x0023DAA4 File Offset: 0x0023BCA4
		// (set) Token: 0x0600D550 RID: 54608 RVA: 0x0023DAAC File Offset: 0x0023BCAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGDBABMNMH Reason
		{
			get
			{
				return this.reason_;
			}
			set
			{
				this.reason_ = value;
			}
		}

		// Token: 0x17003C45 RID: 15429
		// (get) Token: 0x0600D551 RID: 54609 RVA: 0x0023DAB5 File Offset: 0x0023BCB5
		// (set) Token: 0x0600D552 RID: 54610 RVA: 0x0023DABD File Offset: 0x0023BCBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameStoryLineId
		{
			get
			{
				return this.gameStoryLineId_;
			}
			set
			{
				this.gameStoryLineId_ = value;
			}
		}

		// Token: 0x17003C46 RID: 15430
		// (get) Token: 0x0600D553 RID: 54611 RVA: 0x0023DAC6 File Offset: 0x0023BCC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HDAIJPHEEJO
		{
			get
			{
				return this.hDAIJPHEEJO_;
			}
		}

		// Token: 0x17003C47 RID: 15431
		// (get) Token: 0x0600D554 RID: 54612 RVA: 0x0023DACE File Offset: 0x0023BCCE
		// (set) Token: 0x0600D555 RID: 54613 RVA: 0x0023DAD6 File Offset: 0x0023BCD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17003C48 RID: 15432
		// (get) Token: 0x0600D556 RID: 54614 RVA: 0x0023DADF File Offset: 0x0023BCDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> NOKLENCDFNF
		{
			get
			{
				return this.nOKLENCDFNF_;
			}
		}

		// Token: 0x17003C49 RID: 15433
		// (get) Token: 0x0600D557 RID: 54615 RVA: 0x0023DAE7 File Offset: 0x0023BCE7
		// (set) Token: 0x0600D558 RID: 54616 RVA: 0x0023DAEF File Offset: 0x0023BCEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KOBMCLGJJDB
		{
			get
			{
				return this.kOBMCLGJJDB_;
			}
			set
			{
				this.kOBMCLGJJDB_ = value;
			}
		}

		// Token: 0x0600D559 RID: 54617 RVA: 0x0023DAF8 File Offset: 0x0023BCF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingGameSettleScNotify);
		}

		// Token: 0x0600D55A RID: 54618 RVA: 0x0023DB08 File Offset: 0x0023BD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingGameSettleScNotify other)
		{
			return other != null && (other == this || (this.IKHDMKBFPMA == other.IKHDMKBFPMA && this.NAMPNOLBOEK == other.NAMPNOLBOEK && this.Reason == other.Reason && this.GameStoryLineId == other.GameStoryLineId && this.hDAIJPHEEJO_.Equals(other.hDAIJPHEEJO_) && object.Equals(this.Reward, other.Reward) && this.nOKLENCDFNF_.Equals(other.nOKLENCDFNF_) && this.KOBMCLGJJDB == other.KOBMCLGJJDB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D55B RID: 54619 RVA: 0x0023DBC0 File Offset: 0x0023BDC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IKHDMKBFPMA != 0U)
			{
				num ^= this.IKHDMKBFPMA.GetHashCode();
			}
			if (this.NAMPNOLBOEK != 0U)
			{
				num ^= this.NAMPNOLBOEK.GetHashCode();
			}
			if (this.Reason != OJGDBABMNMH.SwordTrainingGameSettleNone)
			{
				num ^= this.Reason.GetHashCode();
			}
			if (this.GameStoryLineId != 0U)
			{
				num ^= this.GameStoryLineId.GetHashCode();
			}
			num ^= this.hDAIJPHEEJO_.GetHashCode();
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			num ^= this.nOKLENCDFNF_.GetHashCode();
			if (this.KOBMCLGJJDB != 0U)
			{
				num ^= this.KOBMCLGJJDB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D55C RID: 54620 RVA: 0x0023DC9B File Offset: 0x0023BE9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D55D RID: 54621 RVA: 0x0023DCA3 File Offset: 0x0023BEA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D55E RID: 54622 RVA: 0x0023DCAC File Offset: 0x0023BEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.nOKLENCDFNF_.WriteTo(ref output, SwordTrainingGameSettleScNotify._repeated_nOKLENCDFNF_codec);
			if (this.NAMPNOLBOEK != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.NAMPNOLBOEK);
			}
			if (this.IKHDMKBFPMA != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.IKHDMKBFPMA);
			}
			if (this.KOBMCLGJJDB != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.KOBMCLGJJDB);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.Reward);
			}
			this.hDAIJPHEEJO_.WriteTo(ref output, SwordTrainingGameSettleScNotify._repeated_hDAIJPHEEJO_codec);
			if (this.GameStoryLineId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.GameStoryLineId);
			}
			if (this.Reason != OJGDBABMNMH.SwordTrainingGameSettleNone)
			{
				output.WriteRawTag(120);
				output.WriteEnum((int)this.Reason);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D55F RID: 54623 RVA: 0x0023DD98 File Offset: 0x0023BF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IKHDMKBFPMA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IKHDMKBFPMA);
			}
			if (this.NAMPNOLBOEK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NAMPNOLBOEK);
			}
			if (this.Reason != OJGDBABMNMH.SwordTrainingGameSettleNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Reason);
			}
			if (this.GameStoryLineId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameStoryLineId);
			}
			num += this.hDAIJPHEEJO_.CalculateSize(SwordTrainingGameSettleScNotify._repeated_hDAIJPHEEJO_codec);
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			num += this.nOKLENCDFNF_.CalculateSize(SwordTrainingGameSettleScNotify._repeated_nOKLENCDFNF_codec);
			if (this.KOBMCLGJJDB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KOBMCLGJJDB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D560 RID: 54624 RVA: 0x0023DE74 File Offset: 0x0023C074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingGameSettleScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IKHDMKBFPMA != 0U)
			{
				this.IKHDMKBFPMA = other.IKHDMKBFPMA;
			}
			if (other.NAMPNOLBOEK != 0U)
			{
				this.NAMPNOLBOEK = other.NAMPNOLBOEK;
			}
			if (other.Reason != OJGDBABMNMH.SwordTrainingGameSettleNone)
			{
				this.Reason = other.Reason;
			}
			if (other.GameStoryLineId != 0U)
			{
				this.GameStoryLineId = other.GameStoryLineId;
			}
			this.hDAIJPHEEJO_.Add(other.hDAIJPHEEJO_);
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			this.nOKLENCDFNF_.Add(other.nOKLENCDFNF_);
			if (other.KOBMCLGJJDB != 0U)
			{
				this.KOBMCLGJJDB = other.KOBMCLGJJDB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D561 RID: 54625 RVA: 0x0023DF4E File Offset: 0x0023C14E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D562 RID: 54626 RVA: 0x0023DF58 File Offset: 0x0023C158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num > 72U)
				{
					if (num <= 88U)
					{
						if (num == 82U)
						{
							if (this.reward_ == null)
							{
								this.Reward = new ItemList();
							}
							input.ReadMessage(this.Reward);
							continue;
						}
						if (num != 88U)
						{
							goto IL_58;
						}
					}
					else if (num != 90U)
					{
						if (num == 112U)
						{
							this.GameStoryLineId = input.ReadUInt32();
							continue;
						}
						if (num != 120U)
						{
							goto IL_58;
						}
						this.Reason = (OJGDBABMNMH)input.ReadEnum();
						continue;
					}
					this.hDAIJPHEEJO_.AddEntriesFrom(ref input, SwordTrainingGameSettleScNotify._repeated_hDAIJPHEEJO_codec);
					continue;
				}
				if (num <= 18U)
				{
					if (num == 16U || num == 18U)
					{
						this.nOKLENCDFNF_.AddEntriesFrom(ref input, SwordTrainingGameSettleScNotify._repeated_nOKLENCDFNF_codec);
						continue;
					}
				}
				else
				{
					if (num == 24U)
					{
						this.NAMPNOLBOEK = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.IKHDMKBFPMA = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.KOBMCLGJJDB = input.ReadUInt32();
						continue;
					}
				}
				IL_58:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005542 RID: 21826
		private static readonly MessageParser<SwordTrainingGameSettleScNotify> _parser = new MessageParser<SwordTrainingGameSettleScNotify>(() => new SwordTrainingGameSettleScNotify());

		// Token: 0x04005543 RID: 21827
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005544 RID: 21828
		public const int IKHDMKBFPMAFieldNumber = 6;

		// Token: 0x04005545 RID: 21829
		private uint iKHDMKBFPMA_;

		// Token: 0x04005546 RID: 21830
		public const int NAMPNOLBOEKFieldNumber = 3;

		// Token: 0x04005547 RID: 21831
		private uint nAMPNOLBOEK_;

		// Token: 0x04005548 RID: 21832
		public const int ReasonFieldNumber = 15;

		// Token: 0x04005549 RID: 21833
		private OJGDBABMNMH reason_;

		// Token: 0x0400554A RID: 21834
		public const int GameStoryLineIdFieldNumber = 14;

		// Token: 0x0400554B RID: 21835
		private uint gameStoryLineId_;

		// Token: 0x0400554C RID: 21836
		public const int HDAIJPHEEJOFieldNumber = 11;

		// Token: 0x0400554D RID: 21837
		private static readonly FieldCodec<uint> _repeated_hDAIJPHEEJO_codec = FieldCodec.ForUInt32(90U);

		// Token: 0x0400554E RID: 21838
		private readonly RepeatedField<uint> hDAIJPHEEJO_ = new RepeatedField<uint>();

		// Token: 0x0400554F RID: 21839
		public const int RewardFieldNumber = 10;

		// Token: 0x04005550 RID: 21840
		private ItemList reward_;

		// Token: 0x04005551 RID: 21841
		public const int NOKLENCDFNFFieldNumber = 2;

		// Token: 0x04005552 RID: 21842
		private static readonly FieldCodec<uint> _repeated_nOKLENCDFNF_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x04005553 RID: 21843
		private readonly RepeatedField<uint> nOKLENCDFNF_ = new RepeatedField<uint>();

		// Token: 0x04005554 RID: 21844
		public const int KOBMCLGJJDBFieldNumber = 9;

		// Token: 0x04005555 RID: 21845
		private uint kOBMCLGJJDB_;
	}
}
